<!DOCTYPE html>
<html>
<head>
    <title>{{ site.title }}</title>
    {{include 'components/import'}}
    <!-- <link rel="stylesheet" href="/stylesheets/bootst/bootstrap.min.css"> -->
    <link rel="stylesheet" href="/stylesheets/defaultstyle.css">
    <script type="text/javascript" src="/javascripts/jquery.SuperSlide.2.1.1.js"></script>
    <script type="text/javascript">
        var SITE_ID = '{{@ site._id }}'
    </script>
</head>
<body>
<div id="header" class="default container-fluid">
    <div class="con container">
        <div class="row">
            <div class="col-sm-6 col-md-6 col-lg-6">
                <a href="/{{ site.subDomain }}/default" title="{{ site.title }}"><img
                        src="/images/default-logo.jpg"/></a>
                <a style="font-size: 140%;margin-left: 1em;" href="/{{ site.subDomain }}/"><i
                        class="fa fa-map-marker"></i> {{ site.name }}</a>
                <div class="dropdown area">
                    <button class="btn btn-default dropdown-toggle btn-lg" type="button" id="dropdownMenu1"
                            data-toggle="dropdown">
                        切换城市
                        <span class="caret"></span>
                    </button>
                    <ul class="dropdown-menu" role="menu" aria-labelledby="dropdownMenu1">
                        {{each sites}}
                        <li role="presentation"><a role="menuitem" tabindex="-1" href="/{{ $value.subDomain }}">{{ $value.name }}</a>
                        </li>
                        {{/each}}
                    </ul>
                </div>
            </div>

            <div class="text-right col-sm-6 col-md-6 col-lg-6">
                {{ if userinfo }}
                <p class="lgact"><a href="/{{ site.subDomain }}/percenter">{{ userinfo.username }}</a>
                    {{ else }}
                <p class="lgact"><a href="/{{ site.subDomain }}/signin">登录</a> / <a href="/{{ site.subDomain }}/register">注册</a></p>
                {{ /if }}

                <span>
              7*24小时免费咨询
              <strong>{{ site.phone }}</strong>
            </span>
            </div>
        </div>
    </div>
    <div class="con container">
        <h2>定位<span>南京</span>，覆盖全国各大特色城市</h2>
        <div class="input-group input-group-lg search">
            <span class="input-search-term">转让</span>
            <input type="text" class="form-control input-search-text">

            <span class="input-group-btn">
            <button class="btn btn-default" type="button" id="search"><i class="fa fa-search"></i></button>
          </span>
        </div>
    </div>
</div>

<div class="default-service container-fluid">
    <div class="con container">
        <div class="row">
            <div class="col-sm-6 col-md-3 col-lg-3">
                <i></i>
                <strong>个性化定制</strong>
                <p>一铺一方案，全方案定制</p>
                <p>充分满足每个客户的实际需求</p>
            </div>
            <div class="col-sm-6 col-md-3 col-lg-3">
                <i></i>
                <strong>专业服务</strong>
                <p>专注店铺转让业务6年+</p>
                <p>专业服务团队，资深服务专员</p>
            </div>
            <div class="col-sm-6 col-md-3 col-lg-3">
                <i></i>
                <strong>高性价比</strong>
                <p>服务全程价格透明</p>
                <p>第三方免费监督与投诉</p>
            </div>
            <div class="col-sm-6 col-md-3 col-lg-3">
                <i></i>
                <strong>绝佳体验</strong>
                <p>特色快转服务，全程跟踪服务</p>
                <p>成功转让是我们的服务终点</p>
            </div>
        </div>
    </div>
</div>


<div class="default-brand container-fluid">
    <div class="con container">
        <h3 class="text-center">
            <strong>合作品牌</strong>
            <small class="">全国各大知名品牌连锁机构超过100+</small>
        </h3>
        <div class="list">
            <div class="item"><img src="/images/logo-lovever.jpg"></div>
            <div class="item"><img src="/images/logo-bulegulf.jpg"></div>
            <div class="item"><img src="/images/logo-chlitina.jpg"></div>
            <div class="item"><img src="/images/logo-wsteak.jpg"></div>
            <div class="item"><img src="/images/logo-zyj.jpg"></div>
            <div class="item"><img src="/images/logo-michelin.jpg"></div>
            <div class="item"><img src="/images/logo-hsay.jpg"></div>
            <div class="item"><img src="/images/logo-centurymart.jpg"></div>
            <div class="item"><img src="/images/logo-philips.jpg"></div>
            <div class="item"><img src="/images/logo-yt.jpg"></div>
        </div>
        <p class="text-center"><a href="#" class="btn btn-default btn-lg">查看全部商家</a></p>
    </div>
</div>

<div class="default-case">
    <img src="/images/default-pic.jpg">
    <p class="text-center">专注行业<strong>6</strong>年+<br/><strong>76547</strong>个成功案例</p>
</div>

<div class="default-team container-fluid">
    <div class="con container">
        <h3><strong>为什么选择我们？</strong></h3>
        <div class="list">
            <div class="hd">
                <a class="prev" href="javascript:void(0)"><i class="fa fa-angle-left"></i></a>
                <a class="next" href="javascript:void(0)"><i class="fa fa-angle-right"></i></a>
            </div>
            <div class="bd">
                <!-- {{ staff }} -->
                <ul class="picList">
                    {{ each staff item }}
                    <li>
                        <div class="pic"><a href="#"><img src="{{ item.image }}"></a></div>
                        <div class="title"><strong>{{ item.name }}</strong><span>{{ item.title }} {{ item.experience }}年</span></div>
                    </li>
                    {{ /each }}
                    <!-- <li>
                        <div class="pic"><a href="#"><img src="/images/1.jpg"></a></div>
                        <div class="title"><strong>张敏</strong><span>高级转让师 5年</span></div>
                    </li>
                    <li>
                        <div class="pic"><a href="#"><img src="/images/2.jpg"></a></div>
                        <div class="title"><strong>徐晶</strong><span>高级转让师 5年</span></div>
                    </li>
                    <li>
                        <div class="pic"><a href="#"><img src="/images/1.jpg"></a></div>
                        <div class="title"><strong>谢雨荷</strong><span>高级转让师 5年</span></div>
                    </li>
                    <li>
                        <div class="pic"><a href="#"><img src="/images/2.jpg"></a></div>
                        <div class="title"><strong>付继亚</strong><span>高级转让师 5年</span></div>
                    </li>
                    <li>
                        <div class="pic"><a href="#"><img src="/images/1.jpg"></a></div>
                        <div class="title"><strong>徐熙媛</strong><span>高级转让师 5年</span></div>
                    </li>
                    <li>
                        <div class="pic"><a href="#"><img src="/images/2.jpg"></a></div>
                        <div class="title"><strong>胡宇</strong><span>高级转让师 5年</span></div>
                    </li>
                    <li>
                        <div class="pic"><a href="#"><img src="/images/1.jpg"></a></div>
                        <div class="title"><strong>边喜妮</strong><span>高级转让师 5年</span></div>
                    </li>
                    <li>
                        <div class="pic"><a href="#"><img src="/images/2.jpg"></a></div>
                        <div class="title"><strong>谢福飞</strong><span>高级转让师 5年</span></div>
                    </li> -->
                </ul>
            </div>
        </div>
    </div>
</div>

<div class="default-coop container-fluid">
    <div class="con row">
        <div class="col-xs-6 col-sm-6 col-md-6 col-lg-6"><a href="http://www.idinfo.cn" target="_blank"><img
                src="/images/logo-foot-idinfo.jpg" alt=""></a></div>
        <div class="col-xs-6 col-sm-6 col-md-6 col-lg-6"><a href="http://www.scca.gov.cn" target="_blank"><img
                src="/images/logo-foot-sxtx.jpg" alt=""></a></div>
        <div class="col-xs-6 col-sm-6 col-md-6 col-lg-6"><a href="http://www.58.com" target="_blank"><img
                src="/images/logo-foot-58.jpg" alt=""></a></div>
        <div class="col-xs-6 col-sm-6 col-md-6 col-lg-6"><a href="http://www.ganji.com" target="_blank"><img
                src="/images/logo-foot-ganji.jpg" alt=""></a></div>
        <div class="col-xs-6 col-sm-6 col-md-6 col-lg-6"><a href="http://www.cdgs.gov.cn" target="_blank"><img
                src="/images/logo-foot-cdgs.jpg" alt=""></a></div>
        <div class="col-xs-6 col-sm-6 col-md-6 col-lg-6"><a href="http://www.gaj.chengdu.gov.cn" target="_blank"><img
                src="/images/logo-foot-cdga.jpg" alt=""></a></div>
    </div>
</div>

{{include 'components/footer'}}
<script type="text/javascript">
    var userName = '{{ userinfo ? userinfo.username: "" }}';
    var CITY = '{{ site.subDomain }}'
    //   console.log(userName);
    jQuery(".list").slide({
        titCell: ".hd ul",
        mainCell: ".bd ul",
        autoPage: true,
        effect: "left",
        autoPlay: true,
        vis: 6,
        trigger: "click"
    });
    var search_infotype = 'Attorn';
    var $searchTerm = jQuery('.input-search-term');
    $searchTerm.on('click',function(){
        if (this.innerText == '转让') {
            this.innerText = '求租'
            search_infotype = 'SeekLease'
        } else {
            this.innerText = '转让'
            search_infotype = 'Attorn'
        }
    })
    function setquery(keyword) {
        var query = {
            title: keyword,
            content: keyword,
            category: '', // 行业
            "estate.type": '',
            infoType: search_infotype, // 转让
            estateType: '', // 商铺类型
            "estate.district": '', // 行政区
            "estate.shopArea": '', // 商圈
            "estate.subway": '', // 地铁
            "estate.transferFee": '', // 转让费
            "estate.area": '', // 面积
            "estate.rental": '', // 租金
            "site": SITE_ID,
            // "estate.city": CITY // 租金
        }
        var sort = {
            createdAt: -1
        };

        var page = {
            index: 1,
            size: 10
        }
        setTimeout(function () {
            location.href = "/" + CITY + "/search?query=" + JSON.stringify(query) + "&sort=" + JSON.stringify(sort) + "&page=" + JSON.stringify(page);
        }, 200);
    }

    jQuery('#search').on('click', function () {
        var data = jQuery('.form-control').val();
        console.log('搜索内容')
        console.log(data.split(' '))
        var q = data.split(' ');
        setquery(q)
        //   location.href = '/'+CITY+'/search?query='+q;
    })
</script>
</body>
</html>
